<<<<<<< HEAD
# from django.shortcuts import render
# from django.http import HttpResponse, JsonResponse
# # from master.mainMachine import machine
# from django.views.decorators.csrf import csrf_exempt
# from django.contrib.auth.decorators import login_required
# from django.core import signing
# from django.contrib.auth import authenticate, login
# import datetime
# import time
# import json
# from django.db.models import Q
# # from airconfig.config import config
# # from customer.models import Room
# from .models import manager


# def log_in(request):
#     request.params = json.loads(request.body)
#     user = request.params["user"]
#     passwd = request.params["passwd"]
#     res = dict()
#     res["error_code"] = admin.login(user, passwd)
#     return HttpResponse(content=res, content_type="application/json")
# # Create your views here.
#
#
# def create_report(request):
#     request.params = json.loads(request.body)
#     roomId = request.params["roomId"]
#     date1 = request.params["date1"]
#     date2 = request.params["date2"]
#     res = manager.create_report(roomId,date1,date2)
#     return HttpResponse(content=res, content_type="application/json")
=======
from django.shortcuts import render
from django.http import HttpResponse, JsonResponse
from django.views.decorators.csrf import csrf_exempt
from django.contrib.auth.decorators import login_required
from django.core import signing
from django.contrib.auth import authenticate, login
import datetime
import time
import json
from django.db.models import Q
from airconfig.config import config
from .models import manager


>>>>>>> 5199feb92222ce45b7dfd676a0638fa052759acf
